<!-- 公共组件的标题，背景颜色 -->
<template>
  <view>
    <view class="section-title" v-for="(item, index) in infoTitleList" :key="index">
      {{ item.title }}
    </view>
  </view>
</template>

<script setup>
defineProps({
  infoTitleList: {
    type: Array,
    required: true
  }
});
</script>

<style scoped>
.section-title {
  padding: 20rpx 30rpx;
  background-color: #f5f5f5;
  color:#676767;
  color:#666666;
  font-size: 32rpx;
  /* margin-top: 20rpx; */
}
</style>